package com.xinqi.modules.exam.common.mapstruct;

import org.mapstruct.Mapping;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

@Retention(RetentionPolicy.CLASS)
@Mapping(target = "id", ignore = true)
@Mapping(target = "createBy", ignore = true)
@Mapping(target = "createTime", ignore = true)
@Mapping(target = "updateBy", ignore = true)
@Mapping(target = "updateTime", ignore = true)
public @interface IgnoreEntity {
}
